﻿using Microsoft.EntityFrameworkCore;
using SystemLYH.Domain;

namespace SystemLYH.Infrstructre
{
    public class MyDbContext:DbContext
    {
        public MyDbContext(DbContextOptions<MyDbContext> options) : base(options) { }
        /// <summary>
        /// 库区管理表
        /// </summary>
        public DbSet<Reservoir> Reservoirs { get; set; }
        /// <summary>
        /// 库位管理表
        /// </summary>
        public DbSet<Location> Locations { get; set; }
        /// <summary>
        ///采购申请表 
        /// </summary>
        public DbSet<Procuredrequest> Procuredrequests { get; set; }
        /// <summary>
        /// 过程质检表
        /// </summary>
        public DbSet<Qualityduring> Qualitydurings { get; set; }
    }
}
